package HomeWork.work14;

import HomeWork.work13.Work13;

/**
 * @author banana
 */
public class Work14 {
    public static void main(String[] args) {
        Work13 c1=new Work13();
        Work13 c2=new Work13();
        c1.setName("java");
        c2.setName("体育");
        String name1=c1.getName();
        String name2=c2.getName();
        c1.setStuid(2);
        c2.setStuid(6);
        int id1=c1.getcourseid();
        int id2=c2.getcourseid();
        System.out.println("课程"+name1);
        System.out.println("课程"+name2);
        c1.older(id1,id2);
    }
}
